package com.vehicle.service;

import com.vehicle.bean.DataGridView;
import com.vehicle.pojo.AccidentRecord;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public interface AccidentRecordService {
    //分页带搜索
    public DataGridView findAccidentRecordPage(AccidentRecord accidentRecord);
    //根据id删除事故记录
    public void deleteAccident(int accidentid);
    //批量删除
    public void deleteBatchAccidentRecord(Integer [] accidentIds);
    //增加事故记录
    public void addAccidentRecord(AccidentRecord accidentRecord);
    //修改事故记录
    public void updateAccidentRecord(AccidentRecord accidentRecord);
}
